package com.well.register.console.model.server;

import lombok.Getter;

/**
 * <p>
 * server error info
 * </p>
 *
 * @author weedo
 * @since 2022/8/20
 */
@Getter
public enum ErrorInfo {

    SYSTEM_ERROR(3001, "System error."),
    SERVER_NOT_FOUND(3002, "Server not found.");


    private Integer code;

    private String msg;

    ErrorInfo(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
